<template>
	<view>
	<view  v-for="(item,index) in Data" style="box-sizing: border-box; padding:0 10px;">
		<view style="line-height: 40px; display: flex; margin-top: 10px;">
			<image style="height: 40px; width: 40px; margin-right: 10px; border-radius: 50%;" :src="item.store.logo"></image>	{{item.store.name}}
		</view>
		<view style="display: flex; align-items: center; box-sizing: border-box;padding: 10px 0; border-bottom: #eee solid 1px; ">
			<image :src="item.project.img" style="width: 80px; height: 80px;"></image>
			<view style="margin-left: 10px; line-height: 30px;">
				<view style="display: flex;">
					订单名字
					<view style="margin-left:100px;">
						￥{{item.project.market_value}}X1
					</view>
				</view>
				<view style="font-weight: bold; font-size: 16px;">
					实付:￥{{item.project.market_value}}
				</view>
			</view>
		</view>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				Data:[]
			}
		},
		onLoad() {
			this.order()
		},
		methods: {
			order(){
				this.$http.post('getOrderListByUser',{user_id:uni.getStorageSync('userinfo').user_id}).then(res => {
					console.log(res,'ssssssss')
					this.Data=res.data
				}).catch(e => {
				})
			}
		}
	}
</script>

<style>

</style>
